﻿using UnityEngine;
using System.Collections.Generic;
using ProtoBuf.Message;
using Dict.DataModel;

namespace Room
{
    public class RCAIUnionFightTotem : RCAIUnionFightBase
    {
        #region 图腾
        InstUFTotem totem;
        #endregion

        public RCAIUnionFightTotem(RoomCharactor owner)
            : base(owner)
        {
            this.type = AIType.UnionTotem;
        }

        public void Init(InstUFTotem inst)
        {
            this.totem = inst;
            var scaler = this.owner.gameObject.AddComponent<ParticleScaler>();
            scaler.particleScale = (float)inst.modelScale;
            
        }
       
    }
}